/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.google.code.netbuilder.xmlaccess;

import com.google.code.netbuilder.dal.entities.*;
import java.util.List;
import javax.xml.bind.annotation.*;

/**
 *
 * @author Ляшенко Андрей
 */

@XmlRootElement(name = "net")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlSeeAlso({Equipment.class, Cable.class, Port.class, Wire.class})
public class XmlEntitiesWrapper
{
    @XmlElement(name = "net_element")
    private List<? extends ManagedObject> wrapped;
    
    public XmlEntitiesWrapper()
    {
        wrapped = null;
    }
    
    public List<? extends ManagedObject> getWrapped()
    {
        return wrapped;
    }
    
    void setWrapped(List<? extends ManagedObject> inList)
    {
        wrapped = inList;
    }
}
